home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK1.toast / Development Kits (Disc 1) / Communications Toolbox / CommToolbox 1.1 / Interfaces / AIncludes / ConnectionTools.a < prev    next >
Encoding:
Text File  |  1994-11-21  |  1.8 KB  |  98 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        ConnectionTools.a
  3. ;    Contains:    Assembler Interface to the Connection Manager Tools
  4. ;    
  5. ;    Copyright © Apple Computer, Inc. 1988-1991
  6. ;    All rights reserved
  7. ;
  8.  
  9.     IF (&TYPE('__INCLUDINGCONNECTIONTOOLS__') = 'UNDEFINED') THEN
  10. __INCLUDINGCONNECTIONTOOLS__    SET        1
  11.  
  12. cmInitMsg                 EQU        0
  13. cmDisposeMsg             EQU        1
  14. cmSuspendMsg            EQU        2
  15. cmResumeMsg             EQU        3
  16. cmMenuMsg                 EQU        4
  17. cmEventMsg                 EQU        5
  18. cmActivateMsg             EQU        6
  19. cmDeactivateMsg         EQU        7
  20.     
  21. cmIdleMsg                 EQU        50
  22. cmResetMsg                 EQU        51 
  23. cmAbortMsg                 EQU        52
  24.     
  25. cmReadMsg                 EQU        100
  26. cmWriteMsg                 EQU        101
  27. cmStatusMsg             EQU        102
  28. cmListenMsg             EQU        103
  29. cmAcceptMsg                EQU        104
  30. cmCloseMsg                 EQU        105
  31. cmOpenMsg                EQU        106
  32. cmBreakMsg                 EQU     107
  33. cmIOKillMsg                EQU        108
  34. cmEnvironsMsg             EQU        109
  35. cmNewIOPBMsg             EQU        110
  36. cmDisposeIOPBMsg        EQU        111
  37. cmGetErrorStringMsg     EQU        112
  38. cmPBReadMsg                EQU        113
  39. cmPBWriteMsg            EQU        114
  40. cmPBIOKillMsg            EQU        115
  41.     
  42. ;    messages for validate DefProc    
  43. cmValidateMsg            EQU        0
  44. cmDefaultMsg            EQU        1
  45.  
  46.  
  47. ;    messages for Setup DefProc    
  48. cmSpreflightMsg         EQU     0
  49. cmSsetupMsg                EQU        1
  50. cmSitemMsg                EQU        2
  51. cmSfilterMsg            EQU        3
  52. cmScleanupMsg            EQU        4
  53.     
  54. ;    messages for scripting defProc    
  55. cmMgetMsg                EQU        0
  56. cmMsetMsg                EQU        1
  57.  
  58.  
  59. ;    messages for localization defProc    
  60. cmL2English                EQU        0
  61. cmL2Intl                EQU        1
  62.  
  63.  
  64. cdefType                 EQU        'cdef'
  65. cvalType                 EQU        'cval'
  66. csetType                 EQU        'cset'
  67. clocType                EQU        'cloc'
  68. cscrType                EQU        'cscr'    
  69.  
  70. cbndType                EQU        'cbnd'
  71. cverType                EQU        'vers'
  72.  
  73.  
  74.  
  75. CMDataBuffer        Record    0
  76. thePtr                ds.l    1
  77. count                ds.l    1
  78. channel                ds.w    1
  79. flags                ds.w    1
  80. CMDataBufferSize    EQU        *
  81.                     EndR
  82.  
  83. CMCompletorRecord    Record    0
  84. async                ds.b    1
  85. filler                ds.b    1
  86. completionRoutine    ds.l    1
  87. CMCompleteorRecordSize    EQU    *
  88.                     EndR
  89.     
  90. CMSetupStruct        Record    0
  91. theDialog            ds.l    1
  92. count                ds.w    1
  93. theConfig            ds.l    1
  94. procID                ds.w    1
  95. CMSetupStructSize    EQU    *
  96.                     EndR
  97.     
  98.     ENDIF            ; already included